home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / strstr.zip / STRLIB.BAT < prev    next >
DOS Batch File  |  1987-06-06  |  540b  |  17 lines

  1. echo off
  2. rem Both the .LIB and .OBJ files to be referenced by this proc must reside
  3. rem in the same directory and this proc must be started from that directory.
  4. cls
  5. if %1. == . goto needp
  6. if not exist strstr%1.obj goto needp
  7. echo strlib: now updating strstr.obj in c%1.lib using strstr%1.obj
  8. ren strstr%1.obj strstr.obj
  9. lib c%1 -+STRSTR.OBJ ; > NUL
  10. ren strstr.obj strstr%1.obj
  11. echo strlib: update of c%1.lib successfully completed
  12. goto okex
  13. :needp
  14. echo strlib: you must specify memory model type as: s, c, m, l or h
  15. :okex
  16.  
  17.